# Author: HZT
# Date: 2023/10/7
import time
import page
from base.base import Base
from selenium.webdriver.support.select import Select


class WebCkZl(Base):
    # 获取公司名字
    def ck_zl_get_gsmz(self):
        return self.base_get_text(page.web_ck_zl_gsmz)

    # 获取余额
    def ck_zl_get_ye(self):
        return self.base_get_text(page.web_ck_zl_ye)

    # 获取今日利润
    def ck_zl_get_d3(self):
        return self.base_get_text(page.web_ck_zl_d3)

    # 获取本月利润
    def ck_zl_get_d4(self):
        return self.base_get_text(page.web_ck_zl_d4)

    # 点击总览
    def ck_zl_click_zl(self):
        self.base_find_first(page.web_ck_zl_zl).click()
